package com.schedualnew.mq.dto.esb.xray.schedule.resquest;


import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import com.schedualnew.mq.dto.esb.AccessControl;
import com.schedualnew.mq.dto.esb.MessageHeader;
import com.schedualnew.mq.dto.esb.RetInfo;
import lombok.Data;

@Data
@JacksonXmlRootElement(localName = "ESBEntry")
public class XRayScheduleSendESBEntry<T> {

    @JacksonXmlProperty(localName = "AccessControl")
    private AccessControl accessControl;

    @JacksonXmlProperty(localName = "MessageHeader")
    private MessageHeader messageHeader;

    @JacksonXmlProperty(localName = "MsgInfo")
    private T msgInfo;

    @JacksonXmlProperty(localName = "RetInfo")
    private RetInfo retInfo;

}
